﻿#pragma once
#include "AstType.h"

class TupleType : public AstType
{
public:
	static AstType* create(std::vector< AstType* >&& types);
	std::vector< AstType* > elements;	// 元组的元素
public:
	virtual llvm::Type* llvmType(llvm::LLVMContext& context);
private:
	llvm::Type* _type;
	TupleType();
};
